package org.test;


public class Tc{

	
	
	public static void main(String[] a){
		String scd = "zh-hans-CN,zh-CN;q=0.7,en-US;q=0.3";
		String[] mark =scd.split(",");//客户端语言//Accept-Language	zh-hans-CN,zh-CN;q=0.7,en-US;q=0.3
		for(String luang:mark){
			luang = luang.split(";")[0].toLowerCase();
			System.out.println(luang);
		}
		System.out.println("--------------------");
	}
}
